export default [
  {
    path: "/index",
    name: "index",
    meta: {
      title: "到访统计",
      requiresAuth: 2 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./index.vue")
  },
  {
    path: "/statistics",
    name: "statistics",
    meta: {
      title: "点单统计",
      requiresAuth: 2 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./statistics.vue")
  },
  {
    path: "/shop",
    name: "shopping",
    meta: {
      title: "购物",
      requiresAuth: 1 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./shopping.vue")
  },
  {
    path: "/shopcard",
    name: "shopcard",
    meta: {
      title: "购物车",
      requiresAuth: 1 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./shopcard.vue")
  },
  {
    path: "/draw",
    name: "draw",
    meta: {
      title: "购物车",
      requiresAuth: 1 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./draw.vue")
  },
  {
    path: "/order",
    name: "order",
    meta: {
      title: "点单",
      requiresAuth: 2 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./order.vue")
  },
  {
    path: "/qrcode",
    name: "qrcode",
    meta: {
      title: "生成二维码",
      requiresAuth: 2 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./qrcode.vue")
  },
  {
    path: "/testmap",
    name: "testmap",
    meta: {
      title: "测试echars地图",
      requiresAuth: 2 //2 无需授权 1用户授权 0或者不传表示静默授权
    },
    component: () => import("./testmap.vue")
  }
];
